package xyz.mkkbjb.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 自定义的配置类
 */
@Configuration
@PropertySource(value = {"classpath:application.properties"}, ignoreResourceNotFound = true)
public class AppConfig {
	@Value("${rebot.url}")
	private String robotUrl;
	@Value("${rebot.key}")
	private String robotKey;
	public String getRobotUrl() {
		return robotUrl;
	}
	public void setRobotUrl(String robotUrl) {
		this.robotUrl = robotUrl;
	}
	public String getRobotKey() {
		return robotKey;
	}
	public void setRobotKey(String robotKey) {
		this.robotKey = robotKey;
	}
	
	
}
